package system.service.sys;

import framework.base.BaseService;
import system.entity.SysLoginFailCounter;

import java.util.Date;
import java.util.List;

public interface SysLoginFailCounterService extends BaseService<SysLoginFailCounter, Long> {
    /**
     * 获取未过期列表
     *
     * @param username
     * @param expireTime
     * @return
     */
    List<SysLoginFailCounter> listNoExpired(String username, Date expireTime);

    /**
     * 获取未过期列表
     *
     * @param username
     * @param expireTime
     * @return
     */
    int listNoExpiredSize(String username, Date expireTime);
}